package com.asiainfo.kbisheet.model
{
	import com.asiainfo.kbisheet.control.IKbsControl;
	import com.asiainfo.kbisheet.vo.SettingVO;
	
	import flash.events.EventDispatcher;

	[Bindable]
	public class SettingModel extends EventDispatcher
	{
		/**系统设置对象*/
		public var settingVO:SettingVO;
		
		public var kbsControlImplClass:Class;
		
		private static var _instance:SettingModel;
		
		public static function getInstance():SettingModel{
			if(_instance == null){
				_instance = new SettingModel();
			}
			return _instance;
		}
		
		public function getKbsControl():IKbsControl{			
			var kbsControl:IKbsControl = new kbsControlImplClass()  as IKbsControl;
			return kbsControl;
		}
	}
}